//------------------------------------------------------------------------
inline
RawDataContainer::RawDataContainer()
{

}

//------------------------------------------------------------------------
inline
RawDataContainer::~RawDataContainer()
{
	release();
}

//------------------------------------------------------------------------
inline void
RawDataContainer::setData(uint8 *data)
{
	m_data = data;
}

//------------------------------------------------------------------------
inline uint8*
RawDataContainer::getDataPtr()
{
	return m_data;
}

//------------------------------------------------------------------------
inline const uint8*
RawDataContainer::getDataPtr() const
{
	return m_data;
}

//------------------------------------------------------------------------
inline void
RawDataContainer::setSize(dbbsize size)
{
	m_size = size;
}

//------------------------------------------------------------------------
inline dbbsize
RawDataContainer::getSize() const
{
	return m_size;
}

//------------------------------------------------------------------------
inline void
RawDataContainer::release()
{
	if(DBBNULL!=m_data)
	{
		delete[] m_data;
		m_data = DBBNULL;
	}
	m_size = 0;
}